package com.yphone.ui.login.respone;

import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;
import android.text.TextUtils;

import com.yphone.ui.ysj.bean.RemoteConnectBean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


public class UserInfo implements Serializable {
    private static final long serialVersionUID = 1;
    public String avatar;
    public String username;
    public String phone;
    public String token;

    public List<RemoteConnectBean> remoteConnectBeans = new ArrayList<RemoteConnectBean>();


    public boolean isBindPhone() {
        return !TextUtils.isEmpty(this.phone);
    }

    public int describeContents() {
        return 0;
    }

    public UserInfo() {
    }
}
